<template>
	<div></div>
</template>
<script type="text/javascript">
	const store=new Vuex.store({
		state:{
			count:0;
		},
		mutations:{
			increment(state){
				state.count++;
			}
		}
	});
	store.commit('increment');
	console.log(store.state.count);
</script>